//
//  BMLcleView.h
//  BeautifulShoppings
//
//  Created by GivenBmli on 16/9/5.
//  Copyright © 2016年 GivenBmli. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol BMLcleViewDelegate <NSObject>

@required
//必须实现的:
@optional
//可选择实现的:
- (void)didClickedItemAtIndexPath:(NSIndexPath *)indexPath;

@end

@interface BMLcleView : UIView
/** 代理人 */
@property(nonatomic, assign)id<BMLcleViewDelegate> delegate;

//声明初始化方法:
- (instancetype)initWithFrame:(CGRect)frame
                   DataSource:(NSArray *)dataSource
                 TimeInterval:(CGFloat)time;

//刷新方法：
- (void)reloadDataByArray:(NSMutableArray *)dataSource;
@end
